import { getStream } from '../Core/connect'
import { Vector3 } from '../Math/Vector3'
// import * as MathUtils from '../Math/MathUtils'

export const loadMaskByList = (pointList:Array<Vector3>) =>{
    const stream = getStream()
    const str = {maskFunction: 'loadMaskByList',pointList:pointList}
    stream.emitUIInteraction(str)
}
export const removeMask = () =>{
    const stream = getStream()
    const str = {maskFunction: 'removeMask'}
    stream.emitUIInteraction(str)
}